package com.example.demo_1106.service;

import com.example.demo_1106.entity.UserAddress;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author kongke
* @description 针对表【user_address】的数据库操作Service
* @createDate 2023-07-23 10:09:06
*/


public interface UserAddressService extends IService<UserAddress> {
    /**
     * 删除用户地址
     *
     * @param moblie 标签
     * @return boolean
     */
    boolean delUserAddress(String moblie);

    /**
     * 查询地址
     *
     * @param mobile 手机号
     * @return {@link List}<{@link UserAddress}>
     */
    List<UserAddress> getAddress(String mobile);
}
